//
//  LSStatusCellBottomView.swift
//  MicroBlog
//
//  Created by lj on 15/9/9.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit

class LSStatusCellBottomView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)
        
        setupUI()
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    
    private func setupUI() {
    
        backgroundColor = UIColor(white: 0.96, alpha: 1.0)
        
        addSubview(retweetButton)
        addSubview(commentButton)
        addSubview(likeButton)
        
        
        ff_HorizontalTile([retweetButton,commentButton,likeButton], insets: UIEdgeInsetsZero)
        
    }
    
    private lazy var retweetButton:UIButton = UIButton(title: "转发数", imageName: "timeline_icon_retweet", color: UIColor.darkGrayColor(), fontSize: 12)
    private lazy var commentButton:UIButton = UIButton(title: "评论数", imageName: "timeline_icon_comment", color: UIColor.darkGrayColor(), fontSize: 12)
    private lazy var likeButton:UIButton = UIButton(title: "赞你妹", imageName: "timeline_icon_like", color: UIColor.darkGrayColor(), fontSize: 12)

    
}
